package com.hoyo.domain;

import java.sql.Timestamp;

public class Bullet {
	
	private int id;
	
	private int userId;
	
	private int movieId;
	
	private float appearedTime;
	
	private String content;
	
	private String color;
	
	private String danmuType;
	
	private Timestamp createTime;
	
	private boolean isResported;
	
	private int total;
	
	private String nickname;
	
	public Bullet(){
	}

	public Bullet(int movieId, float appearedTime, String content, String color, String danmuType) {
		this.movieId = movieId;
		this.appearedTime = appearedTime;
		this.content = content;
		this.color = color;
		this.danmuType = danmuType;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getMovieId() {
		return movieId;
	}

	public void setMovieId(int movieId) {
		this.movieId = movieId;
	}

	public float getAppearedTime() {
		return appearedTime;
	}

	public void setAppearedTime(float appearedTime) {
		this.appearedTime = appearedTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getDanmuType() {
		return danmuType;
	}

	public void setDanmuType(String danmuType) {
		this.danmuType = danmuType;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public boolean getIsResported() {
		return isResported;
	}

	public void setIsResported(boolean isResported) {
		this.isResported = isResported;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Override
	public String toString() {
		return "Bullet [movieId=" + movieId + ", appearedTime=" + appearedTime + ", content=" + content + ", color="
				+ color + ", danmuType=" + danmuType + "]";
	}
}
